]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
data: Place the shell into session.slice when using systemd
authorBenjamin Berg <bberg@redhat.com>
Wed, 29 Jul 2020 14:59:32 +0000 (16:59 +0200)
committerBenjamin Berg <benjamin@sipsolutions.net>
Fri, 31 Jul 2020 13:53:31 +0000 (13:53 +0000)
This way we conform more to https://systemd.io/DESKTOP_ENVIRONMENTS

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895

data/org.gnome.Shell@wayland.service.in
data/org.gnome.Shell@x11.service.in

index 28ef7154db5c2ab7e941b71473dfa62ac805044b..427e3c80727dedab0e05231a7a609b6e15854be7 100644 (file)
@@ -14,6 +14,7 @@ PartOf=gnome-session-initialized.target
 Before=gnome-session-initialized.target
 
 [Service]
+Slice=session.slice
 Type=notify
 # NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I
 #       with systemd >= 245. Also, the current solution is kind of painful
index be2d1ff91205daee4d737602f76990b1765d9f73..a70f2490957eea9c5d51dcf3e66f85c443972ed8 100644 (file)
@@ -18,6 +18,7 @@ StartLimitIntervalSec=15s
 StartLimitBurst=3
 
 [Service]
+Slice=session.slice
 Type=notify
 # NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I
 #       with systemd >= 245. Also, the current solution is kind of painful